export type { CheckedChangeDetails as SwitchCheckedChangeDetails } from '@zag-js/switch'
export { SwitchContext, type SwitchContextProps } from './switch-context'
export { SwitchControl, type SwitchControlBaseProps, type SwitchControlProps } from './switch-control'
export { SwitchHiddenInput, type SwitchHiddenInputBaseProps, type SwitchHiddenInputProps } from './switch-hidden-input'
export { SwitchLabel, type SwitchLabelBaseProps, type SwitchLabelProps } from './switch-label'
export { SwitchRoot, type SwitchRootBaseProps, type SwitchRootProps } from './switch-root'
export {
  SwitchRootProvider,
  type SwitchRootProviderBaseProps,
  type SwitchRootProviderProps,
} from './switch-root-provider'
export { SwitchThumb, type SwitchThumbBaseProps, type SwitchThumbProps } from './switch-thumb'
export { switchAnatomy } from './switch.anatomy'
export { useSwitch, type UseSwitchProps, type UseSwitchReturn } from './use-switch'
export { useSwitchContext, type UseSwitchContext } from './use-switch-context'

export * as Switch from './switch'
